'use strict';

angular.module('fbdApp.ruleModule')

.directive('addRule', function() {
  return {
    scope: {
      ruleObj: '=',
      testRule: '&',
      nameReadOnly: '@'
    },
    restrict: 'E',
    replace: true,
    // template: '<h1>testing</h1>'
    templateUrl: 'rulesModule/views/rules.html',
    controller: 'ruleCtrl'
  };
});
